Syntax

DC SET SUN IMAGE image index, angular radius

Parameters

int: image index

Which texture to use.

float: angular radius

Size in steradians.

Returns

This command does not return a value.

Example Code

rem Add the sun
load image "Sun.png",1
dc set sun image 1,0.05
dc set sun direction x 0.0
dc set sun direction y 0.2
dc set sun direction z 1.0

See also

DC SET SUN DIRECTION
DC SET AUTO SUN DIRECTION
DarkCLOUDS Commands Menu
Index